package com.neusoft.ysu.populationmanagement.entity;

import lombok.Data;

@Data
public class CommonResult<T> {
    private int code=200;
    private String msg="连接population后端成功";
    private T result;

    public CommonResult(T result) {
        this.result = result;
    }
    public CommonResult(int code, String msg,T result) {
        this.code = code;
        this.msg = msg;
        this.result = result;
    }
}
